package com.zdkj.subway.stm.dto.in;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zdkj.subway.stm.entity.SwStInternetTicketEquipment;
import com.zdkj.subway.stm.entity.SwStInternetTicketEquipmentDetails;
import com.zdkj.subway.stm.util.LocalDateConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * @author shkstart
 * 互联网售票机数据录入 统计dto
 * @create 2020-02-29 17:01
 */
@Data
public class SwStInternetTicketDataDTO  implements Serializable {
    private static final long serialVersionUID = 4584997264583138115L;

    /**
     * 明细列表
     */
    @ApiModelProperty(value = "明细列表")
    private List<SwStInternetTicketEquipmentDetails> swStInternetTicketEquipmentDetailsList;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    @ApiModelProperty(value="收益日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date revenueDate;
    /**revenueDate
     * 线路编码，不能重复
     */
    @ApiModelProperty(value="线路编码，不能重复")
    private String lineCode;
    /**
     * 车站编码，不能重复
     */
    @ApiModelProperty(value="车站编码，不能重复")
    private String stationCode;
    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remark;
    //主表
    private SwStInternetTicketEquipment swStInternetTicketEquipment;
    //从表
    private List<SwStInternetTicketEquipmentDetails> swStInternetTicketEquipmentDetails;
}
